home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 25 / CU Amiga Magazine's Super CD-ROM 25 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-08].iso / CUCD / Programming / ixemul / sdk / man / cat5 / hosts.0 < prev    next >
Encoding:
Text File  |  1998-06-15  |  2.0 KB  |  49 lines

  1.  
  2. HOSTS(5)                   UNIX Programmer's Manual                   HOSTS(5)
  3.  
  4. NNAAMMEE
  5.      hhoossttss - host name data base
  6.  
  7. DDEESSCCRRIIPPTTIIOONN
  8.      The hhoossttss file contains information regarding the known hosts on the net-
  9.      work.  For each host a single line should be present with the following
  10.      information:
  11.  
  12.            Internet address
  13.            Official host name
  14.            Aliases
  15.  
  16.      Items are separated by any number of blanks and/or tab characters.  A
  17.      ``#'' indicates the beginning of a comment; characters up to the end of
  18.      the line are not interpreted by routines which search the file.
  19.  
  20.      When using the name server named(8),  this file provides a backup when
  21.      the name server is not running.  For the name server, it is suggested
  22.      that only a few addresses be included in this file.  These include  ad-
  23.      dress for the local interfaces that ifconfig(8) needs at boot time and a
  24.      few machines on the local network.
  25.  
  26.      This file may be created from the official host data base maintained at
  27.      the Network Information Control Center (NIC), though local changes may be
  28.      required to bring it up to date regarding unofficial aliases and/or un-
  29.      known hosts.  As the data base maintained at NIC is incomplete, use of
  30.      the name server is recommended for sites on the DARPA Internet.
  31.  
  32.      Network addresses are specified in the conventional ``.'' (dot) notation
  33.      using the inet_addr(3) routine from the Internet address manipulation li-
  34.      brary, inet(3).  Host names may contain any printable character other
  35.      than a field delimiter, newline, or comment character.
  36.  
  37. FFIILLEESS
  38.      /etc/hosts  The hhoossttss file resides in _/_e_t_c.
  39.  
  40. SSEEEE AALLSSOO
  41.      gethostbyname(3),  ifconfig(8),  named(8)
  42.  
  43.      _N_a_m_e _S_e_r_v_e_r _O_p_e_r_a_t_i_o_n_s _G_u_i_d_e _f_o_r _B_I_N_D.
  44.  
  45. HHIISSTTOORRYY
  46.      The hhoossttss file format appeared in 4.2BSD.
  47.  
  48. 4.2 Berkeley Distribution      December 11, 1993                             1
  49.